; // 自适应全屏,整屏自动拉伸,SCREEN_WIDTH修改后对应css也要修改
(function ($) {
    const SCREEN_WIDTH = 1920;
    const SCREEN_HEIGHT = 1080;

    resizeScale();

    $(window).resize(function () {
        resizeScale();
    });

    function resizeScale() {
        var width = $(window).width();
        var height = $(window).height();
        var wScale = width / SCREEN_WIDTH;
        var hScale = height / SCREEN_HEIGHT;
        window.WIDTH_SCALE = wScale;
        window.HEIGHT_SCALE = hScale;
        $('#fullpage').css('transform', "scale(" + wScale + "," + hScale + ")");
    }

    window.SCREEN_WIDTH = SCREEN_WIDTH;
    window.SCREEN_HEIGHT = SCREEN_HEIGHT;
})(jQuery);
